from django.urls import path
from . import views
urlpatterns = [
    path("qq/", views.QQUserLoginViewSet.as_view({"get":"url"})),
    path("qq/user/", views.QQUserLoginViewSet.as_view({"get":"get_qq_user"})),
    path("qq/login/", views.QQUserLoginViewSet.as_view({"post":"qq_user_login"})),
    path("qq/reg/", views.QQUserLoginViewSet.as_view({"post":"qq_user_register"})),
    path("wechat/", views.WechatUserLoginViewSet.as_view({"post":"get_user_by_openid"})),
    path("wechat/user/", views.WechatUserLoginViewSet.as_view({"post":"create_wechat_user"})),
]